home *** CD-ROM | disk | FTP | other *** search
- on(keyPress "<Up>"){
- ua = getProperty("/u1", _Y);
- ub = getProperty("/u2", _Y);
- uc = getProperty("/u3", _Y);
- tellTarget("/up")
- {
- gotoAndPlay(2);
- }
- if("35" < ua and ua < "90")
- {
- tellTarget("/per3")
- {
- gotoAndPlay(2);
- }
- setProperty("/u1", _Y, "5050" + getProperty("/u1", _Y));
- perf += "1";
- defen += "100";
- }
- if("35" < ub and ub < "90")
- {
- tellTarget("/per3")
- {
- gotoAndPlay(2);
- }
- setProperty("/u2", _Y, "5050" + getProperty("/u2", _Y));
- perf += "1";
- defen += "100";
- }
- if("35" < uc and uc < "90")
- {
- tellTarget("/per3")
- {
- gotoAndPlay(2);
- }
- setProperty("/u3", _Y, "5050" + getProperty("/u3", _Y));
- perf += "1";
- defen += "100";
- }
- }
-